source/derelict/opengl/gl.d(59,5): Error: `@safe` function `_sharedStaticCtor_L57_C1` cannot access `__gshared` data `DerelictGL3` source/derelict/opengl/glloader.d(85,13): Error: `@safe` function `loadBase` cannot access `__gshared` data `getString` source/derelict/opengl/glloader.d(86,13): Error: `@safe` function `loadBase` cannot access `__gshared` data `DerelictGL3` source/derelict/opengl/glloader.d(86,47): Error: `@safe` function `loadBase` cannot access `__gshared` data `getString` source/derelict/opengl/glloader.d(86,34): Error: cast from `extern (C) const(char)* function(uint) nothrow @nogc*` to `void**` not allowed in safe code source/derelict/opengl/glloader.d(87,13): Error: `@safe` function `loadBase` cannot access `__gshared` data `getIntegerv` source/derelict/opengl/glloader.d(88,13): Error: `@safe` function `loadBase` cannot access `__gshared` data `DerelictGL3` source/derelict/opengl/glloader.d(88,47): Error: `@safe` function `loadBase` cannot access `__gshared` data `getIntegerv` source/derelict/opengl/glloader.d(88,34): Error: cast from `extern (C) void function(uint, int*) nothrow @nogc*` to `void**` not allowed in safe code source/derelict/opengl/glloader.d(89,13): Error: `@safe` function `loadBase` cannot access `__gshared` data `getCurrentContext` source/derelict/opengl/glloader.d(90,13): Error: `@safe` function `loadBase` cannot access `__gshared` data `DerelictGL3` source/derelict/opengl/glloader.d(90,47): Error: `@safe` function `loadBase` cannot access `__gshared` data `getCurrentContext` source/derelict/opengl/glloader.d(90,34): Error: cast from `extern (C) void* function() nothrow @nogc*` to `void**` not allowed in safe code source/derelict/opengl/glloader.d(92,17): Error: `@safe` function `loadBase` cannot access `__gshared` data `getProcAddress` source/derelict/opengl/glloader.d(93,17): Error: `@safe` function `loadBase` cannot access `__gshared` data `DerelictGL3` source/derelict/opengl/glloader.d(93,51): Error: `@safe` function `loadBase` cannot access `__gshared` data `getProcAddress` source/derelict/opengl/glloader.d(93,38): Error: cast from `extern (C) void* function(const(char)*) nothrow @nogc*` to `void**` not allowed in safe code source/derelict/opengl/glloader.d(103,13): Error: `@safe` function `loadExtra` cannot access `__gshared` data `getCurrentContext` source/derelict/opengl/glloader.d(109,24): Error: cast from `extern (C) const(char)* function(uint, uint) nothrow @nogc*` to `void**` not allowed in safe code source/derelict/opengl/glloader.d(145,47): Error: `name.ptr` cannot be used in `@safe` code, use `&name[0]` instead /opt/dmd-safe/dmd/dmd-safe failed with exit code 1.